package com.nbgs.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nbgs.demo.controller.form.UserNews;
import com.nbgs.demo.model.User;

public interface UserService {
    void addUser(User user);
    int findUserIdByIDNum(String IDNum);

    //分页查询
    IPage<UserNews> showSumUserNews(Page<UserNews> page, String areaNum, String type, String meterState,String cardNum);
    int getTotalUserNews(String areaName,String type,String meterState,String cardNum);

    //修改用户信息
    void updateUser(User user);

}
